#pragma once

#include <exception>
#include <string>

class ServerException : public std::exception
{
public:
    ServerException(std::string const& error_str = "") throw()
         :m_error_str(error_str)
    {}
 
     virtual const char* what() const throw()
     {
         return m_error_str.c_str();
     }
     
    virtual	~ServerException() throw()
    {}
 
private:
	std::string m_error_str;
};